package com.hust.edu.cn.mapper;

import com.hust.edu.cn.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yu Jian
 * @since 2021-07-06
 */
@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {
    User findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
